package com.qmctl.rest.bean.selldeliveryconfirm;
import javax.xml.bind.annotation.XmlRootElement;

import com.qmctl.rest.entity.SellInvoice;
@XmlRootElement(name="invoice")
public class InvoiceClazz{
  public InvoiceClazz(){
  }
private String header;
private double amount;
private String content;
private DetailClazz detail;
private String code;
private String number;
  public String getHeader(){
    return header;
  }
  public void setHeader(String sHeader){
    header = sHeader;
  }
  public double getAmount(){
    return amount;
  }
  public void setAmount(double dAmount){
    amount = dAmount;
  }
  public String getContent(){
    return content;
  }
  public void setContent(String sContent){
    content = sContent;
  }
  public DetailClazz getDetail(){
    return detail;
  }
  public void setDetail(DetailClazz clazzDetail){
    detail = clazzDetail;
  }
  public String getCode(){
    return code;
  }
  public void setCode(String sCode){
    code = sCode;
  }
  public String getNumber(){
    return number;
  }
  public void setNumber(String sNumber){
    number = sNumber;
  }
  public InvoiceClazz(SellInvoice beanClazz){
  
    header = beanClazz.getHeader();
    amount = beanClazz.getAmount();
    content = beanClazz.getContent();
    detail = null;
    code = beanClazz.getCode();
    number = beanClazz.getInvoiceNumber();
  }
}
